<template>
  <div id="vip">  
   
    <div  style="display:flex;align-items: center;margin-bottom:10px;">
            <img class="top_img" src="@/assets/images/a8.png" style="width:35px;height:35px;margin-right:10px;"/>
            <div style="line-height: 40px;font-weight:bold:">会员管理</div>
     </div>

   <!-- 渲染数据list -->
   <vip-list :datalist="datalist" @up_list_fun="list_fun"> </vip-list>

 
 
      
  </div>
</template>

<script>
import VipList from '@/view/Vip/VipList'
export default {
  name: 'vip',
  data () {
    return {
        datalist:[],

    }
  },
 components:{
    VipList
  },
  created(){
     this.list_fun()
  },
  mounted (){
    
  },
  methods: {
      list_fun(){
          this.post("/vip/listOfData", {

	        }).then(res => {
            this.datalist = res.result
            console.log(res)
         })
      },
     

  }
}
</script>


<style scoped>

</style>
